# coding=utf-8
from django.conf.urls import url, include

from backstage import views


urlpatterns = [
    url(r'^login$', views.Login.as_view()),
    url(r'^login/cap$', views.LoginCatpatcha.as_view()),
    url(r'^sutra/', include(
        "backstage.sutra.urls", namespace='backstage_sutra')),
    url(r'^system/', include(
        "backstage.system.urls", namespace='backstage_system')),
    url(r'^print/', include(
        "backstage.print.urls", namespace='backstage_print')),
    url(r'^permission/', include(
        "backstage.permission.urls", namespace='backstage_permission')),
    url(r'^users/', include(
        "backstage.users.urls", namespace='backstage_users')),
    url(r'^vows/', include(
        "backstage.vows.urls", namespace='backstage_vows')),
    url(r'^temples/', include(
        "backstage.temples.urls", namespace='backstage_temples')),
    url(r'^common/', include(
        "backstage.common.urls", namespace='backstage_common')),
    url(r'^git/webhook/backend$', views.GitWebhookBackend.as_view()),
    url(r'^git/webhook/fe$', views.GitWebhookFe.as_view()),

]
